package com.dfrobot.demo.domain.entity;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "return")
public class Return {
    @Id
    @Column(name = "return_id")
    private Integer returnId;

    @Column(name = "order_id")
    private Integer orderId;

    @Column(name = "product_id")
    private Integer productId;

    @Column(name = "customer_id")
    private Integer customerId;

    private String firstname;

    private String lastname;

    private String email;

    private String telephone;

    private String product;

    private String model;

    private Integer quantity;

    private Boolean opened;

    @Column(name = "return_reason_id")
    private Integer returnReasonId;

    @Column(name = "return_action_id")
    private Integer returnActionId;

    @Column(name = "return_status_id")
    private Integer returnStatusId;

    @Column(name = "date_ordered")
    private Date dateOrdered;

    @Column(name = "date_added")
    private Date dateAdded;

    @Column(name = "date_modified")
    private Date dateModified;

    private String comment;
}